#include<iostream>
#include<stdlib.h>
#include<unistd.h>

using namespace std;
extern char** environ;

int main()
{

    for(int i=0;environ[i];i++)
    {
        cout<<"environ["<<i<<"]:"<<environ[i]<<endl;
    } 
    return 0;
}


